home *** CD-ROM | disk | FTP | other *** search
- Path: keats.ugrad.cs.ubc.ca!not-for-mail
- From: c2a192@ugrad.cs.ubc.ca (Kazimir Kylheku)
- Newsgroups: comp.lang.c
- Subject: Re: What is '?' in C mean....?????
- Date: 21 Jan 1996 09:11:26 -0800
- Organization: Computer Science, University of B.C., Vancouver, B.C., Canada
- Message-ID: <4dts3uINNnm8@keats.ugrad.cs.ubc.ca>
- References: <4cgsa8$bm2@wumpus.cc.uow.edu.au> <fcusack-0401961115540001@mudskipper.cac.psu.edu> <4ci5bb$8m4@www.gnofn.org>
- NNTP-Posting-Host: keats.ugrad.cs.ubc.ca
-
- In article <4ci5bb$8m4@www.gnofn.org>,
- Christopher L Mayeux <clm01@www.gnofn.org> wrote:
- > frank. (fcusack@tdx.org) wrote:
- >: > Could anyone here explain to me what is "?" means and what the purpose
- >: of using
- >:
- >: ? : is C's ternary operator. if the condition is met, perform the
- >: operation after the ?; if the condition is not met, perform the operation
- >: after the :
- >:
- >
- >What new perversion of C is that ???
- >
- >I've been programming in standard C for 12 years, and
- >never saw THAT in the manuals.
-
- Are you serious? Next thing you are going to say is that you have never heard
- of pointers, right?
-
- The above is not the sort of admission I'd make in public.
- --
-
-